package OOday01;

/**
 * 学生类
 */
public class Student extends Person{
    String className;
    int stuId;
    int a;
    Student(){

    }
    Student(int a,String className,int stuId,String name,String address,int age){
        a=1;
        this.a=9;
        super.a=5;
        this.className=className;
        this.address=address;
        this.stuId=stuId;
        this.name=name;
        this.age=age;
    }
    void study(){
        System.out.println(name+"正在学习");
    }
}
